<ion-view>
  <ion-header-bar class="bar bar-header header">
    <button on-touch="goback()" class="button return-btn">返回</button>
    <h1 class="title" ng-click="backToTop()">我的关注</h1>
    <button class="button hd-red-btn" ui-sref="search-friend-list">查找好友</button>
  </ion-header-bar>
  <ion-content class="gray-bg" has-bouncing="true">
        <div class="list flow-find-warp">
            <label class="item item-input">
                <i class="icon flow-find-warp-icon"></i>
                <input type="text" class="flow-find-text" ng-model="search.member_name" placeholder="搜索用户名">
            </label>
        </div>
          <div class="list user-list" ng-if="attendMemberList.attendList&&attendMemberList.attendList.length>0">
              <div class="item user-li-tit">您关注了{{attendMemberList.attendList.length}}人</div>
              <a href="#" class="item item-avatar-left" ng-repeat="member in attendMemberList.attendList | filter:search">
                  <button type="button" ng-if="!member.isAttend" ng-click="foucsMember(member.member_id)" class="button button-small user-care-li-btn"><i class="dimple-care-icon"></i>关注</button>
                <button type="button" ng-if="member.isAttend" ng-click="noFoucsMember(member.member_id)" class="button button-small user-care-li-btn">取消关注</button>
                  <div class="user-li-hd" ng-click="go2OtherHome(member.member_id)">
                      <em class="user-li-hd-pic"><img ng-src="{{picPath}}{{member.member_img_url}}" alt=""/></em>
                      <i class="user-li-hd-icon"><img ng-src="{{picPath}}{{member.mr_img_url}}" alt=""/></i>
                  </div>
                  {{member.member_name}}
              </a>
          </div>
          <div class="list user-list" ng-if="attendMemberList.beAttendList&&attendMemberList.beAttendList.length>0">
              <div class="item user-li-tit">已有{{attendMemberList.beAttendList.length}}人关注了您</div>
              <a class="item item-avatar-left" ng-repeat="member in attendMemberList.beAttendList|filter:search">
                <button type="button" ng-if="!member.isAttend" ng-click="foucsMember(member.member_id)" class="button button-small user-care-li-btn"><i class="dimple-care-icon"></i>关注</button>
                <button type="button" ng-if="member.isAttend" ng-click="noFoucsMember(member.member_id)" class="button button-small user-care-li-btn">取消关注</button>
                <div class="user-li-hd" ng-click="go2OtherHome(member.member_id)">
                  <em class="user-li-hd-pic"><img ng-src="{{picPath}}{{member.member_img_url}}" alt=""/></em>
                  <i class="user-li-hd-icon"><img ng-src="{{picPath}}{{member.mr_img_url}}" alt=""/></i>
                </div>
                {{member.member_name}}
              </a>
          </div>
</ion-content>
</ion-view>

